<tr align="center" ms-class="(!@isChange&&(@BillType==='zy' || @BillType==='jh'))?'can-dbclick':''" ms-dblclick="@getBatchInfo($index)"
  ms-for="($index,el) in @chooseGoods">
  <td ms-text="el.GoodsCode" ms-visible="!@isChange"></td>
  <td ms-visible="@isChange">
    <input type="text" class="input-goods input-enter" ms-duplex="el.GoodsCode" ms-keydown="@showGoodsSelectDialog($event,$index) | enter"
      ms-blur="@editingBlur($index)" placeholder="">
  </td>
  <td>
    <a href="javascript:;" ms-text="el.GoodsName" ms-class="(!!el.PicturePath && el.PicturePath !== '-999') ? 'showImg' : ''" ms-mouseenter="@handleMouseenter($event,$index)"
      ms-mouseout="@handleMouseout($event,$index)"></a>
  </td>
  <td ms-text="el.GoodsSpec"></td>
  <td ms-text="el.BoxUnit"></td>
  <td ms-if="(@BillStatus!=='view'&&@isChange)" ms-attr="{data_index:$index}">
    <input ms-duplex="el.ApplyNum" data-duplex-changed="@handleApplyCountInput($event)" class="input-enter" ms-keydown="@handlerEnter($event) | enter"
      maxlength="10" type="number" ms-blur="@handleApplyCountBlur($event)" placeholder="">
  </td>
  <td ms-if="!@isChange" ms-text="el.ApplyNum"></td>
  <td ms-text="el.GoodsCount"></td>
  <td ms-text="el.RefPrice"></td>
  <td ms-if="!@isGYKS" ms-text="el.consultMoney"></td>
  <td ms-if="@isGYKS" ms-text="el.ActualSendNum"></td>
  <td ms-if="(!@isGYKS&&@BillStatus!=='view'&&@isChange)">
    <input ms-duplex="el.Comment" class="input-enter" ms-keydown="@handlerEnter($event) | enter" maxlength="15" type="text" placeholder=""
    />
  </td>
  <td ms-if="!@isGYKS&&!@isChange" ms-text="el.Comment"></td>

  <td ms-if="!@isGYKS" ms-attr="{title:(el.CardNumberList&&el.CardNumberList.length>18)?el.CardNumberList:''}" ms-text="(el.CardNumberList&&el.CardNumberList.length>18)?(el.CardNumberList.substring(0,17)+'...'):''"></td>

  <td ms-if="!@isGYKS" ms-text="el.ChargeCode"></td>
  <td ms-if="!@isGYKS && @BillType=== 'ly'" ms-text="el.ActualSendNum?el.ActualSendNum:''"></td>

  <td ms-if="(@BillStatus!=='view'&&@isChange)">
    <a href="javascript:;" ms-click="@deleteGoods($index)"><img src="img/index/u524.png" alt=""><span>删除</span></a>
  </td>
</tr>
<tr align="center" class="temp" ms-if="(@BillStatus!=='view'&&@isChange)">
  <td><input type="text" maxlength="10" placeholder="" class="input-goods input-enter" ms-duplex="@inputGoodsName" ms-keydown="@showGoodsSelectDialog | enter"></td>
  <td ms-for="($index,valueName) in @columnValueNames" ms-visible="($index < @columnValueNames.length-1)" ms-text="''"></td>
  <td><img src="img/index/u524.png" alt=""><span>删除</span></td>
</tr>